<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html 
	xmlns:f="http://java.sun.com/jsf/core" 
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:ui="http://java.sun.com/jsf/facelets"
	>
	
	<f:view contentType="text/html" locale="#currentLocale" />
	
	<h:head>
		<script type="text/javascript">
			<!--
			function Redirect()
			{
			    window.location="http://"+location.host+"#{facesContext.externalContext.requestContextPath}/";
			}
			
			document.write("Você será redirecionado em 3 segundos.");
			setTimeout('Redirect()', 3000);
			//-->
		</script>
	</h:head>
	
	<h:body style="background-color:#f1f1f1">
		<p:panel>
			<f:event listener="#{logoutMB.logout}" type="preRenderView" />
		</p:panel>
	</h:body>
</html>